<?php

namespace common\models\Regstand;

use Yii;

/**
 * This is the model class for table "regstand".
 *
 * @property integer $reg_id
 * @property string $reg_name
 */
class Regstand extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'regstand';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['reg_name'], 'required'],
            [['reg_name'], 'string', 'max' => 255],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'reg_id' => Yii::t('app', '国际标准分类号列表'),
            'reg_name' => Yii::t('app', '国际标准分类号'),
        ];
    }
}
